home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 …ember: Reference Library / Dev.CD Dec 00 RL Disk 1.toast / pc / technical documentation / develop / develop issue 27 / develop issue 27 code / internet config assistant / toolkit / cmultidialogs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-30  |  840 b   |  43 lines

  1. /*
  2.     File:        CMultiDialogs.cp
  3.  
  4.     Contains:    Subclass of CDialogs which offer multiple pages
  5.  
  6.     Written by:    Arno Gourdol
  7.  
  8.     Copyright:    © 1996 by Apple Computer, Inc., all rights reserved.
  9.  
  10. */
  11.  
  12. #pragma once
  13.  
  14. #ifndef __CMULTIDIALOGS__
  15. #define __CMULTIDIALOGS__
  16.  
  17. #include "CDialogs.h"
  18.  
  19. class CMultiDialog : public CDialog
  20. {
  21. public:
  22.     // constructor
  23.     CMultiDialog(SInt16 dialogID, UInt16 commonItems, FontCode fontCode = kSystemFont);
  24.         
  25.     // destructor
  26.     virtual ~CMultiDialog(void);        
  27.  
  28.     // accessors
  29.     inline SInt16 GetDialogPane(void) { return fDialogPane; };
  30.     
  31.     // modifiers
  32.     virtual void SetDialogPane(SInt16 pane);
  33.     virtual void ItemHit(short itemHit);
  34.     virtual void ItemHit(UInt16 pane, short itemHit);        
  35.  
  36.  
  37. protected:
  38.     SInt16 fDialogPane;            // ID of the current pane
  39.     UInt16 fCommonItems;        // ID of the last item common to all the panes
  40. };
  41.  
  42. #endif
  43.